home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr09 / gedsrt13.zip / KSORT.DOC < prev    next >
Text File  |  1993-06-01  |  2KB  |  24 lines

  1. KSORT - ASCII file sort utility  =======================> Version 0.0   6/30/87
  2. Function: Sort standard ASCII files up to 30 MB (records terminated with CR/LF)
  3. Usage: KSORT <options><keyspec><keyspec>... where <options> are:
  4.   /I<input> where <input> is the input file name (file names may include path)
  5.   /O<output> where <output> is the output file name (default=SCRN:)
  6.   /W<work> where <work> is the sort work file name  (default=$SORT)
  7.   <keyspec> up to 8 sort keys can be specified. (default=sort entire record)
  8.      Each <keyspec> is specified as /K/<pos>/<len>/<opt>/<opt>/... where:
  9.           <pos> is the starting character position of this key in the record,
  10.           <len> is the length of the key (default=remaining length of record if
  11.                    this is the last key, if not last key then default length=1)
  12.           <opt> = /D for descending sequence,
  13.                   /U sort lower case alpha same as the upper case equivalent
  14.                   /R right justify the sort key
  15. Other options:
  16.   /F/<sep> to sort files consisting of fields separated by special characters
  17.      where <sep> is the decimal value of the character (default=44 for commas).
  18.      For this option, the key position parameter indicates the field number.
  19.   If /D/U/R option(s) are placed before the 1st keyspec, the option(s) apply to
  20.   all keys to be sorted. KSORT retains the original sequence on duplicate keys.
  21. KSORT is written entirely in BASIC and compiled using       Ken Ward
  22. Microsoft's QuickBASIC. If you find KSORT fast & easy       P.O. Box 75727
  23. to use, a contribution of $10 would be appreciated.         Okla City, OK 73147
  24.  find